package com.beehoo.dcportal.admin.service;

import java.util.List;

import com.beehoo.dcportal.common.base.BaseException;
import com.beehoo.dcportal.model.PortletBean;

public interface PortletService {

	/**
	 * 查询首页模块
	 * 
	 * @param streetId
	 * @param themeId
	 * @return
	 * @throws BaseException
	 */
	public List<PortletBean> queryPortlet(String streetId, String themeId)
			throws BaseException;

	/**
	 * 改变首页模块
	 * 
	 * @param streetId
	 * @param themeId
	 * @param portlet
	 * @throws BaseException
	 */
	public void changePortlet(String streetId, String themeId, String[] portlet)
			throws BaseException;
}
